<?php
/**
 * PureMVC Port to PHP originally translated by Asbjørn Sloth Tønnesen
 *
 * @author Omar Gonzalez :: omar@almerblank.com
 * @author Hasan Otuome :: hasan@almerblank.com
 *
 * Created on Sep 24, 2008
 * PureMVC - Copyright(c) 2006-2008 Futurescale, Inc., Some rights reserved.
 * Your reuse is governed by the Creative Commons Attribution 3.0 Unported License
 */

/**
 * A base <code>PureMVC_Command_Interface</code> implementation.
 *
 * <P>
 * Your subclass should override the <code>execute</code>
 * method where your business logic will handle the <code>PureMVC_Observer_Notification_Interface</code>. </P>
 *
 * @see org.puremvc.core.controller.Controller Controller
 * @see org.puremvc.patterns.observer.Notification Notification
 * @see org.puremvc.patterns.command.MacroCommand MacroCommand
 */

class PureMVC_Command_Simple extends PureMVC_Observer_Notifier implements PureMVC_Command_Interface, PureMVC_Observer_Notifier_Interface
{
	protected $_facade;

	public function __construct()
	{
		$this->_facade = PureMVC_Facade::getInstance();
	}

  /**
   * Fulfill the use-case initiated by the given <code>PureMVC_Observer_Notification_Interface</code>.
   *
   * <P>
   * In the Command Pattern, an application use-case typically
   * begins with some user action, which results in an <code>PureMVC_Observer_Notification_Interface</code> being broadcast, which
   * is handled by business logic in the <code>execute</code> method of an
   * <code>PureMVC_Command_Interface</code>.</P>
   *
   * @param notification the <code>PureMVC_Observer_Notification_Interface</code> to handle.
   */
  public function execute( PureMVC_Observer_Notification_Interface $notification )
  {

  }
}
